package com.heima.apis.search;

import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.search.dtos.UserSearchDto;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

@Api(value = "搜索历史", tags = "搜索历史", description = "搜索历史API")
public interface ApUserSearchControllerApi {

    /**
     * 查询搜索历史
     * @param userSearchDto
     * @return
     */
    @ApiOperation("查询搜索历史")
    public ResponseResult findUserSearch(UserSearchDto userSearchDto) ;

    /**
     * 删除搜索历史
     * @param userSearchDto
     * @return
     */
    @ApiOperation("删除搜索历史")
    public ResponseResult delUserSearch(UserSearchDto userSearchDto) ;

}